/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.pras.skripsi.model;

import java.io.Serializable;

/**
 *
 * @author Pras
 */
public class Entity implements Serializable {

    private Integer plates;
    private Object jawaban;
    private Object kunci;

    public Object getJawaban() {
        return jawaban;
    }

    public void setJawaban(Object jawaban) {
        this.jawaban = jawaban;
    }

    public Integer getPlates() {
        return plates;
    }

    public void setPlates(Integer plates) {
        this.plates = plates;
    }

    public Object getKunci() {
        return kunci;
    }

    public void setKunci(Object kunci) {
        this.kunci = kunci;
    }

    

    @Override
    public String toString() {
        return "Entity{" + "plates=" + plates + ", jawaban=" + jawaban + ", kunci=" + kunci + '}';
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Entity other = (Entity) obj;
        if (this.plates != other.plates && (this.plates == null || !this.plates.equals(other.plates))) {
            return false;
        }
        if ((this.jawaban == null) ? (other.jawaban != null) : !this.jawaban.equals(other.jawaban)) {
            return false;
        }
        if ((this.kunci == null) ? (other.kunci != null) : !this.kunci.equals(other.kunci)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 53 * hash + (this.plates != null ? this.plates.hashCode() : 0);
        hash = 53 * hash + (this.jawaban != null ? this.jawaban.hashCode() : 0);
        hash = 53 * hash + (this.kunci != null ? this.kunci.hashCode() : 0);
        return hash;
    }
}
